package routers

import (
	beego "github.com/beego/beego/v2/server/web"
	"yklx1/controllers"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/login", &controllers.WWW{}, "post:Login")
	beego.Router("/rolenodegxbiaoAdd", &controllers.WWW{}, "post:RolenodegxbiaoAdd")
	beego.Router("/userRole", &controllers.WWW{}, "post:UserRole")
	beego.Router("/nodeRole", &controllers.WWW{}, "post:NodeRole")
	beego.Router("/companyAdd", &controllers.WWW{}, "post:CompanyAdd")
	beego.Router("/ordersAdd", &controllers.WWW{}, "post:OrdersAdd")
	beego.Router("/orderList", &controllers.WWW{}, "post:OrderList")
	beego.Router("/orderDetail", &controllers.WWW{}, "post:OrderDetail")

}
